Match argument name between declaration and definition
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 11 Feb 2020 17:26:51 +0000 (17:26 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 13 Feb 2020 14:53:25 +0000 (14:53 +0000)
Otherwise the documentation and the introspection data will complain.

gtk/gtktextbuffer.c
gtk/gtktextbuffer.h

index abf6b6174d6b10f5893a2056513a51c742d326d8..c24bc61df407f77b5803cf8c525499cf70a5e254 100644 (file)
@@ -2270,7 +2270,7 @@ gtk_text_buffer_real_insert_paintable (GtkTextBuffer *buffer,
 void
 gtk_text_buffer_insert_paintable (GtkTextBuffer *buffer,
                                   GtkTextIter   *iter,
-                                  GdkPaintable    *paintable)
+                                  GdkPaintable  *paintable)
 {
   g_return_if_fail (GTK_IS_TEXT_BUFFER (buffer));
   g_return_if_fail (iter != NULL);
index a844d94f5b0bd75ddd7be1270ab3231be73f9def..3ad3b483e32208f31957418db464946f7d291b05 100644 (file)
@@ -271,7 +271,7 @@ gchar          *gtk_text_buffer_get_slice           (GtkTextBuffer     *buffer,
 GDK_AVAILABLE_IN_ALL
 void gtk_text_buffer_insert_paintable      (GtkTextBuffer *buffer,
                                             GtkTextIter   *iter,
-                                            GdkPaintable  *texture);
+                                            GdkPaintable  *paintable);
 
 /* Insert a child anchor */
 GDK_AVAILABLE_IN_ALL